package com.nttdata.ta.todo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication(scanBasePackages = {
        "com.nttdata.ta.todo",      // 扫描当前模块
        "com.nttdata.ta.common"     // 扫描common模块
})
@EnableDiscoveryClient
@EnableFeignClients(basePackages = "com.nttdata.ta")
public class TodoServiceApplication {
    public static void main(String[] args) {
        SpringApplication.run(TodoServiceApplication.class, args);
    }
}